package model

func (Permission) TableName() string {
	return "permission"
}

// Permission allow visit resource
type Permission struct {
	Name    string `gorm:"size:1000;not null;default:''"`
	Type    uint8  `gorm:"not null;default:1"` // 1: api
	Comment string `gorm:"not null;default:''"`
	Model
}
